#ifndef __auct_h
#define __auct_h

#define AUCT_LAND 0 // when selling land, no stock changes shown!
#define AUCT_FOOD 1
#define AUCT_ENERGY 2
#define AUCT_ORE 3
#define AUCT_CRISTITE 4

extern int auct_pict_y_pos[5];
extern char auct_names[5][20];

typedef struct {  int aucttype; // what auctioned; auct_land/auct_food/...
                  int landseller; // when player selling land; -1 = none

                  int amount[4]; // players' amount
                  int consumption[4]; // consumption during month
                  int production[4]; // production during turn
                  int spoilage[4]; // how many units spoiled
                  int needlevel[4]; // how many units needed

                  int shopamount; // how many units shop has
                  int shopbuyprice; // shop's buy price
                  int shopsellprice; // shop's sell price; HIGHER THAN SHOPBUYPRICE!

                  int ypos[4]; // current ypos
                  int offer[4]; // current offering price

                  char seller[4]; // 1=sells, 0=buys
                  int selling; // player who's selling
                  int buying; // player who's buying
                  
               }  auctiontype;

#endif
